<template>
  <i
    class="iconfont"
    :class="iconName"
  ></i>
</template>

<script>
export default {
  name: 'MkIconfont',
  props: {
    iconClass: {
      type: String,
      required: true
    }
  },
  computed: {
    iconName () {
      return `icon-mk-${this.iconClass}`
    }
  }
}
</script>

<style lang="scss" scoped>
.iconfont {
  color: #8f9fb3;
}
</style>
